from google.appengine.ext import db
from gaeo.model import BaseModel

from model.link import Link
from model.user import User

class Tag(BaseModel):
    name = db.StringProperty(required=True)

Tag.has_and_belongs_to_many(Link)
Tag.belongs_to(User)